<table class="table table-hover m-b-none" >

    <thead>
    <tr>
        <th width="80">id</th>
        <th width="230">用户UID[用户名]</th>
        <th width="140">姓名</th>
        <th width="100">手机</th>
        <th width="150">加盟地址</th>
        <th width="150">合作方式</th>
        <th width="150">代理类型</th>
        <th width="150">推荐人</th>
        <th width="160">所属上级</th>
        <th width="170">身份|等级</th>
        <th width="150">状态</th>
        <th width="180">申请时间</th>

        <th width="380">操作</th>
    </tr>
    </thead>
    <tbody>
    {volist name="data.list" id="vo" }

    <tr >
        <td>
            {$vo.id}
        </td>
        <td><a href="{:url('member/sys_admin.users/info',['user_id'=>$vo['user_id']])}"  data-toggle="wrapperAjax">{$vo.user_id} - {$vo.user_id|userInfo}</a></td>
        <td>{$vo.username}</td>
        <td>{$vo.phone}</td>
        <td>{$vo.address}</td>
        <td>{$vo.hezuofs}</td>
        <td>
            {eq name="vo.level_id" value="0" }{/eq}
            {eq name="vo.level_id" value="1" }区县代理{/eq}
            {eq name="vo.level_id" value="2" }市级代理{/eq}
            {eq name="vo.level_id" value="3" }省级代理{/eq}
            {eq name="vo.level_id" value="4" }街道代理{/eq}
        </td>
        <td>{$vo.tuijieren}</td>
        <td>{$vo.shangjiren}</td>
        <td>{$vo.shenfen}</td>
        <td>{eq name="vo.status" value="1" }已阅读{/eq}
            {eq name="vo.status" value="0" }未阅读{/eq}</td>
        <td>{$vo.addtime|date="Y-m-d h:m:s"}</td>


        <td style="text-align: center;">
            <!--<a href="{:url('info',array('id'=>$vo['id']))}"  title="编辑" class="fa fa-edit m-xs" ></a>-->
            <!--<a href="javascript:;" class="btn btn-default btn-sm m-xs" ><i class="fa row-details fa-plus-square-o list_tr_open">查看</i></a>-->
            <a class="btn btn-default btn-sm m-xs" href="{:url('member/sys_admin.users/info',['user_id'=>$vo['user_id']])}"  data-toggle="wrapperAjax">查看</a>


            {eq name="vo.status"}
                <a href="javascript:;"
                   data-remote="{:url('isread',array('id'=>$vo.id))}"
                   data-toggle="ajaxRemove" class="btn btn-default btn-sm" data-toggle="ajaxRemove" data-msg="确定设置已阅读？" title="点击已阅读">点击已阅读</a>
            {/eq}


        <a href="{:url('del',array('id'=>$vo['id']))}" data-toggle="ajaxRemove" data-msg="确定将 {$vo.username} 删除？" class="btn btn-default btn-sm m-xs"  title="删除">删除</a>
        </td>
    </tr>
    <tr class="hide">

        <td colspan="6" valign="top">
            <p style="color:#1F2D3D;font-size:16px">商品名称：{$vo.prize_name}</p>
            <p style="color:#1F2D3D;font-size:16px">收货人：{$vo.username}</p>
            <p style="color:#1F2D3D;font-size:16px">收货地址：{$vo.address}</p>
            <p style="color:#1F2D3D;font-size:16px">物流单号：{$vo.danhao}</p>
        </td>
        <td colspan="4" valign="top">
            <p style="color:#1F2D3D;font-size:16px">奖品数量：{$vo.num}</p>
            <p></p>
            <p></p>
            <p></p>
        </td>
        <td colspan="4" valign="top">
            <p style="color:#1F2D3D;font-size:16px">兑换时间：{$vo.duihuantime|date="Y-m-d h:m:s"}</p>
            <p style="color:#1F2D3D;font-size:16px">发货时间：{$vo.fahuotime|date="Y-m-d h:m:s"}</p>
            <p></p>
            <p></p>
        </td>
    </tr>

    {/volist}
    </tbody>
</table>
{empty name="data.list"}
<table width="100%" >
    <tr><td height="300" colspan="8" align="center" valign="middle" >没有相关数据！</td></tr>
</table>
{/empty}
